<template>
  <div>
    <p>foo:{{ foo }}</p>
    <p>attrs: {{ $attrs.bar }}</p>
    <DomChild v-bind="$attrs" v-on="$listeners"></DomChild>
  </div>
</template>
​
<script>
import DomChild from "./a3.vue";
export default {
  props: ["foo"],
  components: {
    DomChild
  },
  inheritAttrs: false,
  data() {
    return {};
  },
  created() {

    console.log(111, this.$attrs);
  },
  methods: {}
};
</script>
